#include <iostream>
#include <experimental/filesystem>

using namespace std;
namespace fs = std::experimental::filesystem;

int main(int argc, char const *argv[]) {
    cout << "start" << endl;
    auto path = argv[1];

    cout << fs::is_directory(path) << endl;
    std::error_code error_code;
    fs::create_directory(path, error_code);
    cout << error_code << endl;
    if (!error_code)
    {
        cout << "make dir success" << endl;
    }
    cout << error_code.value() << " " << error_code.message() << endl;
    return 0;
}
